package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 存酒信息对象 wine_storage
 * 
 * @author xyz
 * @date 2025-06-07
 */
public class WineStorage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 存酒人ID（关联 sys_user.user_id） */
    @Excel(name = "存酒人ID", readConverterExp = "关=联,s=ys_user.user_id")
    private Long userId;

    /** 存酒人名称 */
    @Excel(name = "存酒人名称")
    private String userName;

    /** 存酒日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "存酒日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date storageDate;

    /** 存酒房间ID */
    @Excel(name = "存酒房间ID")
    private Long roomId;

    /** 存酒房间名称 */
    @Excel(name = "存酒房间名称")
    private String roomName;

    /** 存酒酒名 */
    @Excel(name = "存酒酒名")
    private String wineName;

    /** 数量 */
    @Excel(name = "数量")
    private Long quantity;

    /** 我的借酒 */
    @Excel(name = "我的借酒")
    private String myBorrow;

    /** 备用字段 aa */
    @Excel(name = "备用字段 aa")
    private String aa;

    /** 备用字段 bb */
    @Excel(name = "备用字段 bb")
    private String bb;

    /** 备用字段 cc */
    @Excel(name = "备用字段 cc")
    private String cc;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }

    public void setStorageDate(Date storageDate) 
    {
        this.storageDate = storageDate;
    }

    public Date getStorageDate() 
    {
        return storageDate;
    }

    public void setRoomId(Long roomId) 
    {
        this.roomId = roomId;
    }

    public Long getRoomId() 
    {
        return roomId;
    }

    public void setRoomName(String roomName) 
    {
        this.roomName = roomName;
    }

    public String getRoomName() 
    {
        return roomName;
    }

    public void setWineName(String wineName) 
    {
        this.wineName = wineName;
    }

    public String getWineName() 
    {
        return wineName;
    }

    public void setQuantity(Long quantity) 
    {
        this.quantity = quantity;
    }

    public Long getQuantity() 
    {
        return quantity;
    }

    public void setMyBorrow(String myBorrow) 
    {
        this.myBorrow = myBorrow;
    }

    public String getMyBorrow() 
    {
        return myBorrow;
    }

    public void setAa(String aa) 
    {
        this.aa = aa;
    }

    public String getAa() 
    {
        return aa;
    }

    public void setBb(String bb) 
    {
        this.bb = bb;
    }

    public String getBb() 
    {
        return bb;
    }

    public void setCc(String cc) 
    {
        this.cc = cc;
    }

    public String getCc() 
    {
        return cc;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("storageDate", getStorageDate())
            .append("roomId", getRoomId())
            .append("roomName", getRoomName())
            .append("wineName", getWineName())
            .append("quantity", getQuantity())
            .append("myBorrow", getMyBorrow())
            .append("aa", getAa())
            .append("bb", getBb())
            .append("cc", getCc())
            .toString();
    }
}
